
function login(app) {
    app.use(async (ctx, next) => {
        if (ctx.path === '/login' && ctx.method === 'POST') {
            ctx.body = await ctx.request.body
            console.log(123123, ctx.body)

        }
    })
}



module.exports = login